﻿using System;
using System.Collections.Generic;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Himall.Entity.Config
{
   public class CategoryCashDepositInfoConfig : EntityTypeConfiguration<CategoryCashDepositInfo>
    {
        public CategoryCashDepositInfoConfig()
        {
            ToTable("Himall_CategoryCashDeposit");
            HasRequired(x => x.CategoriesInfo).WithMany(x => x.Himall_CategoryCashDeposit).HasForeignKey(x => x.CategoryId);
        }
    }
}
